Adding Firewall Rules for TCP/IP Port Restriction
To add new port restrictions, press the F6 key from the Work with TCP/IP Port Restrictions screen (STRFW > 14 > 21) as shown in Setting Firewall Rules for TCP/IP Port Restriction.
The Add TCP/IP Port Restriction screen appears:
Add TCP/IP Port Restriction Type choices, press Enter. Range of port values: From port . . . . . . . . . . . 1-65535 To port . . . . . . . . . . . . *ONLY 1-65535, *ONLY Protocol . . . . . . . . . . . . . BOTH TCP, UDP, BOTH Allowed for user profile . . . . . Name, %Group, F4 for list Allowed for users of Group Profile N Y=Yes, N=No WARNING: Maximal number of users of Group Profile is limited to 32000. F3=Exit F4=Prompt F12=Cancel |
The screen includes the following fields:
Range of port values:
From port
The lowest port number in the range of ports.
To port
The highest number in the range of ports. If the restriction is only for the single port number entered in the From port field, set this to *ONLY.
NOTE: While you can set restrictions for any ports, restricting ports 1-1024 may clash with other TCP/IP activity on your system, so you should avoid restricting them.
Protocol
The TCP/IP protocol restricted on this port. Possible values are:
- TCP
- UDP
- BOTH (for both TCP and UDP)
Allowed for user profile
The user or group allowed to use these ports. Set this to a single name or a %group. To select from a list of known users and groups, press the F4 key.
Allowed for users of Group Profile
If the previous field contains a %group name, whether members of that group may use the port. Possible values are:
- Y: Yes
- N: No